package com.project.m.api.busi.db.repo.user;

import com.project.m.api.busi.db.entity.hicatcard.user.TUserPlan;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface UserPlanRepo extends JpaRepository<TUserPlan, Long>, JpaSpecificationExecutor<TUserPlan> {

	List<TUserPlan> findByPrefixAndEnableOrderByStartDesc(String prefix, Boolean enable);

}
